Optimal. Leaf size=132 \[ -\frac {\left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{x}+\sqrt {b} \sqrt {\pi } \cos (2 a) \csc ^2\left (a+b x^2\right ) S\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}+\sqrt {b} \sqrt {\pi } \csc ^2\left (a+b x^2\right ) C\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \sin (2 a) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 132, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {6852, 3474,
4669, 3454, 3434, 3433, 3432} \begin {gather*} \sqrt {\pi } \sqrt {b} \sin (2 a) \text {FresnelC}\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}+\sqrt {\pi } \sqrt {b} \cos (2 a) S\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}-\frac {\left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3432
Rule 3433
Rule 3434
Rule 3454
Rule 3474
Rule 4669
Rule 6852
Rubi steps
\begin {align*} \int \frac {\left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{x^2} \, dx &=\left (\csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \frac {\sin ^2\left (a+b x^2\right )}{x^2} \, dx\\ &=-\frac {\left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{x}+\left (4 b \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \cos \left (a+b x^2\right ) \sin \left (a+b x^2\right ) \, dx\\ &=-\frac {\left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{x}+\left (2 b \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \sin \left (2 \left (a+b x^2\right )\right ) \, dx\\ &=-\frac {\left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{x}+\left (2 b \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \sin \left (2 a+2 b x^2\right ) \, dx\\ &=-\frac {\left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{x}+\left (2 b \cos (2 a) \csc ^2\left (a+b x^2\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \sin \left (2 b x^2\right ) \, dx+\left (2 b \csc ^2\left (a+b x^2\right ) \sin (2 a) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\right ) \int \cos \left (2 b x^2\right ) \, dx\\ &=-\frac {\left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{x}+\sqrt {b} \sqrt {\pi } \cos (2 a) \csc ^2\left (a+b x^2\right ) S\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}+\sqrt {b} \sqrt {\pi } \csc ^2\left (a+b x^2\right ) C\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \sin (2 a) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 107, normalized size = 0.81 \begin {gather*} \frac {\csc ^2\left (a+b x^2\right ) \left (-1+\cos \left (2 \left (a+b x^2\right )\right )+2 \sqrt {b} \sqrt {\pi } x \cos (2 a) S\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right )+2 \sqrt {b} \sqrt {\pi } x C\left (\frac {2 \sqrt {b} x}{\sqrt {\pi }}\right ) \sin (2 a)\right ) \left (c \sin ^3\left (a+b x^2\right )\right )^{2/3}}{2 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.18, size = 301, normalized size = 2.28
method | result | size |
risch | \(-\frac {\left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {2}{3}}}{4 x \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{2}}-\frac {i \left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {2}{3}} {\mathrm e}^{2 i x^{2} b} b \sqrt {\pi }\, \sqrt {2}\, \erf \left (\sqrt {2}\, \sqrt {i b}\, x \right )}{4 \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{2} \sqrt {i b}}+\frac {\left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {2}{3}} \left (-\frac {{\mathrm e}^{4 i \left (b \,x^{2}+a \right )}}{x}+\frac {2 i b \sqrt {\pi }\, \erf \left (\sqrt {-2 i b}\, x \right ) {\mathrm e}^{2 i \left (b \,x^{2}+2 a \right )}}{\sqrt {-2 i b}}\right )}{4 \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{2}}+\frac {\left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {2}{3}} {\mathrm e}^{2 i \left (b \,x^{2}+a \right )}}{2 x \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{2}}\) | \(301\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.62, size = 90, normalized size = 0.68 \begin {gather*} \frac {\sqrt {2} \sqrt {b x^{2}} {\left ({\left (-\left (i + 1\right ) \, \sqrt {2} \Gamma \left (-\frac {1}{2}, 2 i \, b x^{2}\right ) + \left (i - 1\right ) \, \sqrt {2} \Gamma \left (-\frac {1}{2}, -2 i \, b x^{2}\right )\right )} \cos \left (2 \, a\right ) + {\left (\left (i - 1\right ) \, \sqrt {2} \Gamma \left (-\frac {1}{2}, 2 i \, b x^{2}\right ) - \left (i + 1\right ) \, \sqrt {2} \Gamma \left (-\frac {1}{2}, -2 i \, b x^{2}\right )\right )} \sin \left (2 \, a\right )\right )} c^{\frac {2}{3}} + 8 \, c^{\frac {2}{3}}}{32 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 127, normalized size = 0.96 \begin {gather*} -\frac {4^{\frac {2}{3}} {\left (4^{\frac {1}{3}} \pi x \sqrt {\frac {b}{\pi }} \cos \left (2 \, a\right ) \operatorname {S}\left (2 \, x \sqrt {\frac {b}{\pi }}\right ) + 4^{\frac {1}{3}} \pi x \sqrt {\frac {b}{\pi }} \operatorname {C}\left (2 \, x \sqrt {\frac {b}{\pi }}\right ) \sin \left (2 \, a\right ) + 4^{\frac {1}{3}} \cos \left (b x^{2} + a\right )^{2} - 4^{\frac {1}{3}}\right )} \left (-{\left (c \cos \left (b x^{2} + a\right )^{2} - c\right )} \sin \left (b x^{2} + a\right )\right )^{\frac {2}{3}}}{4 \, {\left (x \cos \left (b x^{2} + a\right )^{2} - x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (c \sin ^{3}{\left (a + b x^{2} \right )}\right )^{\frac {2}{3}}}{x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c\,{\sin \left (b\,x^2+a\right )}^3\right )}^{2/3}}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________